﻿using FluentNHibernate.Mapping;

namespace SuckerPunch.Mappings
{
   public class ConnectionMap : ClassMap<Connection>
   {
       public ConnectionMap()
       {
           Id(x => x.Id);
           Map(x => x.FullName);
           Map(x => x.Email);
           Map(x => x.NickName);
           Map(x => x.Alternative);
           Map(x => x.IsInvisible);
           HasOne(x => x.CurrentServer);

       }
    }
}
